package ycl.security.feign.fallback;

import org.springframework.stereotype.Component;
import ycl.common.result.Result;
import ycl.common.models.base.A;
import ycl.security.feign.MessageFeign;

/**
 * @author ycl
 * @date 2022/6/21 0021 23:59:42
 */
@Component
public class MessageFeignFallback implements MessageFeign {
	@Override
	public Result<A> test() {
		System.out.println("熔断器--------------------");
		return Result.fail();
	}
}
